package com.polymorphic多态.poly01;

public class AAAA {
    public static void main(String[] args) {
        Master master = new Master("李云龙");

        Dog dog = new Dog("旺财");
        Bone bone = new Bone("狗骨头");
        master.feed(dog,bone);

        System.out.println("=========");

        Cat cat = new Cat("小花猫");
        Fish fish = new Fish("金鱼");
        master.feed(cat,fish);



    }
}
